package com.lijian.community.service;

import com.lijian.community.dto.CommentDTO;
import com.lijian.community.enums.CommentTypeEnum;
import com.lijian.community.model.Comment;
import com.lijian.community.model.User;

import java.util.List;

public interface CommentService {
    void addComment(Comment comment,  User user);

    List<CommentDTO> findListTargetById(Integer id, CommentTypeEnum type);

    void incCommentCount(Integer id);
}
